@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/save" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="water_level_type";
		@ var _col=[
		@			  {name:"电站编号", index:"number", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"水位类型编号", index:"serialNumber", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"水位类型名称", index:"name", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"创建人", index:"createAc", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"创建时间", index:"createAt", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"是否在用 0在用 1停止", index:"state", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"水位上线预警", index:"upperWarn", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"水位下线预警", index:"lowerWarn", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"水位上线报警", index:"upperAlarm", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"水位下线报警", index:"lowerAlarm", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"水位单位", index:"unitLevel", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"流量预警", index:"flowWarn", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"流量报警", index:"flowAlarm", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"流量单位", index:"unitFlow", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"数据上传方式  0 自动 1手动", index:"status", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"上传数据分类 0全部 1水位 2流量", index:"type", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"开始时间", index:"beginTime", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"结束时间", index:"endTime", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"上传数据时间类型 0秒 1分 2小时 3天", index:"timeType", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"上传时间值", index:"timeCount", type:"text",newline:true,length:8,required:"required"}		
		@		   ];
		@ include("/common/_curd/_add.html", {"col":_col, "table":_table}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"新增", btn_close:"关闭"}) {}
	</form>

@}
